// A4 纸容器的大小

#printContent,
.printBox {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  // padding: 20mm 15mm 15mm 15mm;
  // background: #fff;
  box-sizing: border-box;
  // font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #000;
  font-size: 10px;
  position: relative;
  // box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  // overflow: hidden;
}

.printBox h1,
.printBox h2,
.printBox h3 {
  text-align: center;
  font-weight: bold;
  margin: 0 0 12px 0;
}
.printBox .section-title {
  font-size: 14px;
  font-weight: bold;
  margin: 18px 0 6px 0;
  border-left: 3px solid #333;
  padding-left: 6px;
}

.printBox table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  font-size: 10px;
}
.printBox th,
.printBox td {
  border: 1px solid #000;
  padding: 10px 6px;
  box-sizing: border-box;
  text-align: center;
  word-break: break-all;
}

.qingkuan th,
.qingkuan td {
  border: 1px solid #000;
  padding: 3px 6px;
  box-sizing: border-box;
  text-align: center;
  word-break: break-all;
}

.printBox th {
  // background: #fafafa;
  // font-weight: bold;
}
.printBox .no-border {
  border: none !important;
}

.printBox .form-row {
  // display: flex;
  // align-items: flex-end;
  margin-bottom: 8px;
  .form-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    // margin-bottom: 10px;
    // border: 1px solid red;
    .rowtitle {
      height: 18px;
      line-height: 25px;
    }
    .caigou {
      width: 690px;
      line-height: 20px;

      // height: 8px;
    }
  }
}
.printBox .form-row > div {
  flex: 1;
  // margin-right: 16px;
}
.printBox .form-row > div:last-child {
  margin-right: 0;
}
.printBox .input-line {
  border-bottom: 1px solid #222;
  display: inline-block;
  min-width: 80px;
  height: 18px;
  vertical-align: middle;
}
.printBox .checkbox {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #222;
  vertical-align: middle;
  margin-right: 4px;
}

.printBox .remark {
  font-size: 11px;
  color: #444;
  margin: 6px 0 0 0;
  line-height: 1.5;
}
.printBox .text-left {
  text-align: left;
}
.printBox .text-right {
  text-align: right;
}
.printBox .text-center {
  text-align: center;
}

@media print {
  table {
    border-collapse: collapse !important;
  }
  th,
  td {
    border: 1px solid black !important; /* 强制黑色实线 */
    -webkit-print-color-adjust: exact; /* Chrome/Safari */
    print-color-adjust: exact; /* 标准属性 */
  }
}

// 图片的位置
.preview {
  position: fixed;
  z-index: -1000;
  width: 220mm;
  height: 297mm;
}

.headth {
  width: 40px;
}
.headthb {
  width: 150px;
}
.headtcb {
  width: 170px;
}
.headtkh {
  width: 180px;
}
.headthyh {
  width: 165px !important;
}
.headthje {
  width: 70px;
}
.headthfk {
  width: 70px;
}

.fuKtitle {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.underline-input {
  border: 0; /* 移除所有边框 */
  border-bottom: 1px solid #000; /* 只添加下边框 */
  outline: none; /* 移除聚焦时的轮廓 */
  padding: 5px 0; /* 添加一些内边距 */
  width: 200px; /* 设置宽度 */
  line-height: 20px;
  background: transparent; /* 透明背景 */
  font-size: 10px;
}

/* 聚焦时的样式 */
.underline-input:focus {
  border-bottom-color: #4285f4; /* 改变下边框颜色 */
  border-bottom-width: 2px; /* 加粗下边框 */
}

.textareaClass {
  border: 1px solid #000000;
  width: 99.3% !important;
  height: 90px;
  font-size: 10px;
  resize: none; /* 完全禁止调整大小 */
}

.bomBox {
  width: 100%;
  display: flex;
  justify-content: space-between;
  .bomBoxItem {
    width: 42%;
    height: 100px;
    .bomBoxItem-1 {
      border: 1px solid #000000;
      display: flex;
      width: 99%;
      height: 42px;
      align-items: center;
      padding-left: 15px;
      box-sizing: border-box;
    }
    .bomBoxItem-2 {
      display: flex;
      width: 100%;
      height: 25px;
      margin-top: 10px;
      .caigou-item {
        display: flex;
        align-items: center;
        margin-right: 40px;
        .cone {
          margin-right: 15px;
        }
        .ctwo {
          width: 10px;
          height: 10px;
          border: 1px solid #000000;
          cursor: pointer;
        }
      }
    }
    .bomBoxItem-3 {
      display: flex;
      align-items: center;
      padding: 10px 0;
      .threecai {
        margin-right: 20px;
        width: 70px;
      }
    }
  }
}

.activecaigou {
  background-color: red;
  width: 30px !important;
  border: 1px solid rgba(0, 0, 0, 0) !important;
}

.riqiitem {
  border-bottom: 1px solid #000000;
  width: 100%;
  padding: 17px 0 !important;
  box-sizing: border-box;
}
.fapiaoXUI {
  width: 400px;
}

:deep(.el-select__wrapper) {
  box-shadow: none !important;
}
:deep(.el-select__suffix) {
  display: none !important;
}
:deep(.el-select__placeholder) {
  color: #000 !important;
  font-size: 10px !important;
}
:deep(.el-select__selected-item span) {
  box-sizing: border-box;
  display: block !important;
  // background-color: yellowgreen;
  height: 17px;
  line-height: 27px;
}
